home *** CD-ROM | disk | FTP | other *** search
- <script language="JavaScript">
- <!-- This Script And Over 400 Others Found At --!>
- <!-- Java City 2000 http://www.jc2k.com --!>
- <!-- hide --
- /*
- This script displays current month, date and year !
- With this script, your webpage will always display current month, date and year,
- no need to update the htm/html file every day, and it makes it look like you've updated your
- page everyday. Oh, yea, the color's are all messed up. I used Teal, and the color turned red....
- weird.
-
- Copyright (C) 1999 Scott Sparks (sparksscott@hotmail.com).
- May be freely distributed, but please do not remove copyright notices.
- No warranteed for usability for any apps are given.
- */
-
- var now = new Date();
- var textout;
- var month = now.getMonth();
- var date = now.getDate();
- var year = now.getYear();
-
- if (month==0) textout="January";
- if (month==1) textout="Febuary";
- if (month==2) textout="March";
- if (month==3) textout="April";
- if (month==4) textout="May";
- if (month==5) textout="June";
- if (month==6) textout="July";
- if (month==7) textout="August";
- if (month==8) textout="September";
- if (month==9) textout="October";
- if (month==10) textout="November";
- if (month==11) textout="December";
-
- textout += " " + date + " '" + year;
- document.write ("<font size=5><font color=TEAL><strong>I last stumbled here on " + textout + "</strong></font>");
- // -- end hiding -->
- </script>